//
//  CYMinePickerView.h
//  cyydt
//
//  Created by chu on 2019/2/4.
//  Copyright © 2019 chu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CYAddressModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef void(^SelAddressBlock)(CYAddressModel *province, CYCityModel *city);
typedef void(^SelOtherBlock)(NSString *value, NSInteger index);

@interface CYMinePickerView : UIView<UIPickerViewDelegate, UIPickerViewDataSource>

@property (nonatomic, strong) UILabel *titleLable;

- (instancetype)initWithFrame:(CGRect)frame DataArr:(NSArray *)dataArr components:(NSInteger)components;
@property (nonatomic, copy) SelAddressBlock addressBlock;
@property (nonatomic, copy) SelOtherBlock otherBlock;

@end

NS_ASSUME_NONNULL_END
